<#include "/freemarker/frame.ftl"> 
<@frame title="error">
<script type='text/javascript'>
	function showDetail(){
		var detail=jQuery('#exp_detail');
		if(detail){
			if(detail.is(":hidden")){
				detail.show();
				jQuery('#detail_button').text('X');
			}else{
				detail.hide();
				jQuery('#detail_button').text('i');
			}
		}
	}
</script>
        <div class="status error">
        	<p class="closestatus"><a id="detail_button" href="javascript:showDetail()" title="Close">i</a></p>
        	<p><img src="img/icons/icon_error.png" alt="Error" /><span>出错!</span>
        		<@s.property value="exception.message" />
        	</p>
        	<div id='exp_detail' style="display:none;margin:20px;padding-top:10px;">
        		<@s.property value="exceptionStack" />
        	</div>
        </div>

</@frame>